home *** CD-ROM | disk | FTP | other *** search
- A AUTO < , > Place current line in center of page
- C CLS < . > List current program line
- D DELETE < - > List previous program line
- E EDIT < + > List next program line
- L LIST <PgUp> List previous page of lines
- L" LOAD" <PgDn> List next page of lines
- M MERGE <Ctrl><PgUp> List first page of lines
- P LLIST <Ctrl><PgDn> List last page of lines
- S" SAVE
- U Un-NEW Single Step Trace Commands
- SYSTEM TROFF disable SST
- SYSTEM TRON [LINE] [lineno] enable SST
-
- COMPRESS UNCOMPRESS
- H [RL,NC,LB,LR,LT,SD,SP,RV] I [E L D I T]
-
- Where: Where:
- RL Remove Lines E Expanded option
- NC No Combination L Line Indentation
- LB Leave Blanks D DATA item seperation
- LR Leave Remarks I Indent loop suppress
- LT Leave Type chars T Type char suppress
- SD Shorten and Display
- SP Shorten and Print
- RV Remove Variables
-
- VARIABLE DUMP
-
- V . List all variables to the screen
- V , List all variables to the printer
- V .vn List variables to the screen in ascending order,
- starting with the specified variable
- V ,vn List variables to the screen in ascending order,
- starting with the specified variables
- V .vn,vn[,vn,]... List the specified variables to the screen
- V ,vn,vn[,vn,]... List the specified variables to the printer
- V vn[,vn,]... List the specified variable(s) to the screen
- V Repeat the previous V command
-
-
- SUPER RENUM
-
- R [newline] [,[increment] [,[startline] [,endline]]]
- Renumber and/or relocate a block of program lines
- R I [newline] [,[increment] [,[startline] [,endlling]]]
- Duplicate a block of program lines
- R U
- Scan program for unidenfined lines
-
- VARIABLE/LINE NUMBER/NUMERIC CONSTANT CROSS-REFERENCE
-
- X . List all references to the screen
- X , List all references to the printer
- X .ppppp List all references starting with ppppp to the screen
- X ,ppppp List all references starting with ppppp to the printer
- X ppppp List all references to ppppp to the screen
- X List to the screen the 'next' program line which
- contains a reference to the last X ppppp command
-
-
- STRING/KEYWORD CROSS-REFERENCE
-
- F .REM List program lines containing REM to the screen
- F ,REM List program lines containing REM to the printer
- F . List all keyword references to the screen
- F , List all keyword references to the printer
- F ."kw List keyword references to the screen in ascending
- sequence starting with kw
- F ,"kw List keyword references to the screen in ascending
- sequence starting with kw
- F ."ss" List string references to the screen in ascending
- sequence starting with ss
- F ,"ss" List string references to the screen in ascending
- sequence starting with ss
- F "kw List references to kw to the screen
- F "ss" List string references which CONTAIN ss to the screen
- F "kw1+kw2 List references in which kw1 and kw2 appear in the
- program line to the screen
- F "kw1,kw2 List references to kw1 to the screen and REPLACE
- each occurrence of kw1 with kw2
- F List the 'next' program line containing a reference to
- the last F "kw or F "ss" command
-
- COMPRESS
- ~~~~~~~~
- This module reduces the size of the resident program to an absolute
- minimum for optimal execution under the BASIC interpreter. Programs which
- have been so compressed typically occupy 30 to 40% less memory space, and
- run 7 to 10% faster.
-
- The compression is accomplished through the fillowing actions:
-
- 1) Remove remarks.
- 2) Remove unneccessary blanks.
- 3) Remove extraneous colons.
- 4) Remove quotation marks at the end of a line, unless the quote is
- required to retain a trailing blank.
- 5) Remove the LET keyword.
- 6) Remove the GOTO keyword in the sequences THEN GOTO and ELSE GOTO.
- 7) Remove variable type declaration characters ($,%,!,#) when a
- previous DEFINT, DEFSTR, DEFSNG, or DEFDBL statement makes
- such explicit typing redundant.
- 8) Merge separate lines into single multiple-statement lines.
- 9) Remove any non-executable program lines, i.e. unreferenced lines
- which follow GOTO,RETURN or END statements.
- 10) Remove variable names from NEXT statements.
- 11) Automatically shorten variable names.
-
-
- Items 3 and 4 are not optional, but the remaining actions are controlled by
- parameter. The default state for items 9,10,and 11 is OFF, while the
- default for all other items is ON.
-
- For item 7 to function correctly, the DEFxxx (where xxx = INT,STR,SNG,or DBL)
- statements must appear in a physical order corresponding to there logical
- order. If DEFxxx statements appear in subroutines which are referenced by
- GOSUB statements, those lines which appear in the program physically before
- the DEFxxx statements will be treated as if the DEFxxx statement was not in
- effect. Therefore, in order to take maximum advantage of this feature, the
- DEFxxx statements should be at or near the beginning of the program.
-
- Although item 10 normally saves a few bytes, the primary opjective in removing
- the variable names from NEXT statements is to improve the performance of the
- program. Our benchmark tests show that FOR/NEXT loops execute up to 25%
- faster with the variable names ommitted.
-
- Compress is invoked with the H command, optionally followed by one or more
- parameters to tailor the compression to your specific requirements.
- Mutiple parameters must be separated by commas.
- The parameters are:(The envelope please)
-
- RL Remove Lines (#9). Non-executable lines are removed.
-
- NC No Combination (#8). Seprate lines are not merged into multiple-statement
- lines. Inhibits removal of non-executable program lines (#9), even if
- the RL parameter is specified.
-
- LB Leave Blanks (#2). Blanks are not removed. This also disables removal
- of LET (#5) and GOTO (#6) keywords. Under certain circumstances, a
- very few blanks may be removed, even with this option set.
-
- LR Leave Remarks (#1). Remarks are not removed.
-
- LT Leave Typing characters (#7). Variable type declaration characters
- are not removed.
-
- SD Shorten and Display (#11). Specifies that you want to shorten variable
- names and sent the new/old variable nave list to the Display.
- Variable names which are already less than four(4) characters in
- length are not shortened. The new variable names will be two or three
- characters long and will retain the same first letter as the old
- variable name.
-
- SP Shorten and Print (#11). Specifies that you want to shorten variable
- names and send the new/old variable name list to the Printer.
- When using this parameter, a printer fault such as out-of-paper or
- printer off-line will terminate the compress function and leave the
- program in an unfinished condition. You should exercise sufficient care
- to prevent such a printer faule; but if it does occur, the Un-NEW
- function can be used to recover the program.
-
- RV Remove Variables (#10). Remove the variable names from NEXT statements
- WARNING: Do not use this parameter if your program: 1)contains a GOTO
- referencing a NEXT statement with a variable name which is the control
- variable of an outer loop, and 2)depends upon the inplied
- 'abnormal termination' of an inner loop. Refer to the "FOR and NEXT"
- statement discription in your BASIC manual for a further discussion
- or the need for variable names on NEXT statements.
-
-
- UNCOMPRESS
- ~~~~~~~~~~
-
- UNCOMPRESS is invoked with the I command, optionally followed by
- one or more parameters to talor the expansion to your individual taste.
- Multiple parameters may be entered with or without blanks as delimiters.
- The parameters are:
-
- E Expanded option. Inseret spaces after left parentheses and before
- right parentheses. Some people like spaces here, some hate them.
- No one seems to pe indifferent on this topic, so try it both ways and
- pick your favorite.
-
- L Line indentation. Indent new program lines which were created by
- seperating multiple-statement lines. This will provide a 'stair step'
- visual connection of statements which are executed as a single unit.
-
- D DATA statement items are separated into nultiple line.
-
- I Indentation supperss. Statements contained within FOR/NEXT and
- WHILE/WEND loops are not indented.
-
- T Type character suppress. Variable type declaration charcters are
- not inserted.
-
-
-
- Scrolling Keys
- ~~~~~~~~~~~~~~
-
- The scrolling keys perform the specified action immediately, there is
- no need to also press the Enter key. However, these keys are active only on
- the first keystroke followint the BASIC Ok prompt or Enter key.
- If you start to type on a command line, then backspace to the beginning of the
- line, you must press the Enter key to restore the first keystroke state so
- that the scrolling keys can be recognized. Likewise, if you use the arrow keys
- to change the cursor location, the BDS scrolling keys will be inactive until
- you press the ENTER key.
-
-
- < , > List current program line in center of screen.
- < . > List current program line.
- < - > List previous porgram line.
- < + > List next program line.
- <PgUp> List previous page of program lines.
- <PgDn> List next page of program lines.
- <Ctrl><PgUp> List first page of program lines.
- <Ctrl><PgDn> List last page of program lines
-
- If you enter the line number it will give you the line rather then delete it
- (an edit function)
-
-
- DEBUG BDS.COM
- E116"MX BASICA",0
- W
- Q
-
-
- E116 | "M/D" | "X" | "BASICA" | ",0"
- | | | |
- ADDRESS OF BDS | STORE CMDS | ADVANCED | CALLS BASICA | NO FURTHER
- | IN MEMORY | FEATURES | COULD BE | INSTRUCTIONS
- | OR CALL FROM| | \DOS\BASICA |
- | DISK | | |
- | | | |
-
- TO PUT IT ALL BACK TO NORMAL DEBUG BDS.COM
- E116,0
- W
- Q
-
-
- You can change Single Step Tron with the GREY "-" and GREY "+"
- so thet the line numbers appear in the upper lefo corner of
- so thet the entire line appears across the top of the screen
-
- < Lists first program line
- > Lists last program line
-
- <Ctrl><M> executes the next program line, clears the Single Step Trace window,
- then repeats the last direct mode VARIABLE DUMP command (with display output
- limited to the screen window specified by CSRLIN).
-
-
- Protection Level
- DEBUG BDS.COM
- E19E,1 Protection level one. When you type a line
- number only and press <ENTER>, the specified
- line is EDITed rather than DELETEd. Since
- this provides a faster way to edit a program
- line, the E abbreviation for EDIT is removed
-
- E19E,2 Protection level two. In addition to level
- one, when you type one of the single letter
- BDS commands which can modify the program
- (H for Compress, I for Uncompress, R for
- Super Renum), the following verification
- message is displayed: Are you sure? (Y/N)
- Then you can type Y to continue the
- command or N to return to the direct mode
- without modifying the program.
-
- E19E,3 Protection level three. In addition to level
- one, the verification message shown above is
- displayed or any BDS command beginning with
- C for Copy, D for DELETE, H for Compress,
- I for Uncompress, M for Move, and R for
- Super Renum.
-
- Right at this moment the file I sent you is on level 3
-
-
- I hope you find this as useful as I have, all you need do is invoke it
- with this command
-
- C>BDS (you could add things like /f:60 or /s:512 or whatever you want
-